import { ref } from 'vue'

export default function () {
    let num = ref(0)

    function sumNum(value: number) {
        num.value += value
    }

    return { num, sumNum }
}